import React from "react";
export class Children extends React.Component {
  render() {
    return (
      <div className="child">
        <div className="product">
          <h3>标题：</h3>
          <div>价格：{this.props.list.price}</div>
          <div>开业大酬宾</div>
          <button onClick={() => { this.props.kans(this.props.list.id, 2) }}>砍价</button>
        </div>
      </div>
    )
  }
}
